<template>
  <!-- 平台资产信息 -->
  <div class="app-container">

    <el-table :data="tableData" style="width: 100%" v-loading="loading">
      <el-table-column prop="coinName" label="币种"></el-table-column>
      <el-table-column prop="depositAmount" label="充值钱包金额"></el-table-column>
      <el-table-column prop="withdrawAmount" label="提币钱包余额"></el-table-column>
      <el-table-column prop="bakAmount" label="备用钱包余额"></el-table-column>
      <el-table-column prop="assetAmount" label="资产总额（充值+提币+备用)"></el-table-column>
      <el-table-column prop="userAssetAmount" label="用户资产金额"></el-table-column>
      <el-table-column prop="adxAmount" label="公司资产"></el-table-column>
    </el-table>
  </div>
</template>

<script>
import { platformAsset } from "@/api/home/capitalinfo"
export default {
  data() {
    return {
      loading: true,
      tableData: [],
    };
  },
  created() {
    this.getList();
  },
  methods: {
    getList() {
      this.loading = true;
      platformAsset({
        ...this.form
      }).then(res => {
        this.loading = false;
        this.tableData = res.result
      }).catch(err => {
        this.loading = false;
      })
      
    }
  }
};
</script>

<style></style>
